package internal

import (
	proto "leafserver/src/pb/go"
	"leafserver/src/service-wsTcp/controller/login/service"
	"reflect"
)

func handleMsg(m interface{}, h interface{}) {
	skeleton.RegisterChanRPC(reflect.TypeOf(m), h)
}

func init() {
	handleMsg(&proto.UserLoginWebReq{}, service.UserLoginWebReq)
	// 	a.SetUserData(m.User.OpenID)
}
